package com.quanyan.club.entity.vo.req;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by zhuo.shi on 2016/6/22.
 */
public class ReqClubSearch implements Serializable {
    private static final long serialVersionUID = -7077250367092153328L;

    /*搜索关键字*/
    private String keyword;                 //俱乐部id
                                            //俱乐部名称			(需根据俱乐部名称拼音首字母搜索)
                                            //俱乐部创始人用户id
                                            //俱乐部创始人昵称		(需根据昵称拼音首字母搜索)
    private Integer clubTypeId;             //俱乐部类型id
    private String clubSportName;		    //俱乐部运动类型
    private Integer cityId;
    private String cityName;			    //城市
    private Integer districtId;
    private String district;				//区域
    private Integer residentPlaceId;        //俱乐部常驻球馆id
    private Integer sortBy = 1;			    //排序规则，默认按俱乐部积分排
    @NotNull
    private Integer pageNo;
    @NotNull
    private Integer pageSize;
    private Double lat;                     //用户当前位置的经纬度
    private Double lng;

    private boolean firstin;            //是否是第一次进页面

    private double distance;        //搜索半径，单位：km

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public boolean isFirstin() {
        return firstin;
    }

    public void setFirstin(boolean firstin) {
        this.firstin = firstin;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getClubTypeId() {
        return clubTypeId;
    }

    public void setClubTypeId(Integer clubTypeId) {
        this.clubTypeId = clubTypeId;
    }

    public String getClubSportName() {
        return clubSportName;
    }

    public void setClubSportName(String clubSportName) {
        this.clubSportName = clubSportName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Integer getResidentPlaceId() {
        return residentPlaceId;
    }

    public void setResidentPlaceId(Integer residentPlaceId) {
        this.residentPlaceId = residentPlaceId;
    }

    public Integer getSortBy() {
        return sortBy;
    }

    public void setSortBy(Integer sortBy) {
        this.sortBy = sortBy;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }
}
